#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include "editorhelpers.h"
#include "languagefacilities.h"

namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    EditorHelpers m_helper;
    LanguageFacilities m_lang;
    QString m_currentDirectory;
    Ui::MainWindow *ui;
    bool m_textChanged;

private slots:

    void textChanged();
    void on_actionNew_triggered();
    void on_actionZoom_Out_triggered();
    void on_actionZoom_In_triggered();
    void on_actionSelect_All_triggered();
    void on_actionFont_triggered();
    void on_actionExit_triggered();
    void on_actionSave_As_triggered();
    void on_actionSave_triggered();
    void on_actionOpen_triggered();
};

#endif // MAINWINDOW_H
